<style>
    .fh{
        display: none;
    }
    .tname{
        border-right: 1px solid #999;
        padding-right: 10px;  padding-left: 10px;
    }
    a.tname:nth-last-of-type(1){
        border-right:none;
    }
    .bannerbox .allShop ul li.none{
        display: none;
    }
    .more:hover .li1{
        border-right:2px solid #19b1e3 ;
    }
	li i {text-align:left;}
	li i a{padding-left:8px;}
</style>
<volist name="first_kind" id="fkind" key="j">
    <if condition="$j gt 4">
        <if condition="$j eq 5">
            <li class="more">
                <i >
                    <a href="javascript:void(0)">....</a>
                </i>
            </li>
        </if>

        <li class="none">
            <i>
                <a href="{:BaseController::_createUrl('index/classification')}/kid/{$fkind.item_clsno}">{$fkind.item_clsname} &gt;</a>
            </i>
            <div class="allShop-box" id="box_{$j}">
                <div class="allShop-box2">
                    <div class="allShop-name">
                        <volist name="fkind['child_list']" id="skind">
                            <div class="clearfix">
                                <div class="main">
                                    <a href="{:BaseController::_createUrl('index/classification')}/kid/{$skind.item_clsno}">{$skind.item_clsname}}<span class="fh">&gt;</span> </a>
                                </div>
                                <div class="classify">
                                    <volist name="skind['child_list']" id="tkind">
                                        <a href="{:BaseController::_createUrl('index/classification')}/kid/{$tkind.item_clsno}" class="tname">{$tkind.item_clsname}</a>
                                        <!--<span>&nbsp;|&nbsp;</span>-->
                                    </volist>
                                </div>
                            </div>
                        </volist>
                    </div>
                </div>
            </div>
        </li>
        <else/>
        <li class="li">
            <i>
                <a href="{:BaseController::_createUrl('index/classification')}/kid/{$fkind.item_clsno}">{$fkind.item_clsname} &gt;</a>
            </i>
            <div class="allShop-box" id="box_{$j}">
                <div class="allShop-box2">
                    <div class="allShop-name">
                        <volist name="fkind['child_list']" id="skind">
                            <div class="clearfix">
                                <div class="main">
                                    <a href="{:BaseController::_createUrl('index/classification')}/kid/{$skind.item_clsno}">{$skind.item_clsname}<span class="fh">&gt;</span> </a>
                                </div>
                                <div class="classify">
                                    <volist name="skind['child_list']" id="tkind">
                                        <a href="{:BaseController::_createUrl('index/classification')}/kid/{$tkind.item_clsno}" class="tname">{$tkind.item_clsname}</a>
                                        <!--<span>&nbsp;|&nbsp;</span>-->
                                    </volist>
                                </div>
                            </div>
                        </volist>
                    </div>
                </div>
            </div>
        </li>
    </if>

</volist>
<script>
    $(function(){
$(".more").hover(function(){
   $(".bannerbox .allShop ul li:gt(5)").show();
    $(this).hide();
},function(){
    $(".bannerbox .allShop ul li:gt(5)").hide(); $(this).show();
})
        $(".bannerbox .allShop ul li:gt(5)").hover(function(){
            $(".bannerbox .allShop ul li:gt(5)").show();$(".more").hide();
        },function(){
            $(".bannerbox .allShop ul li:gt(5)").hide();$(".more").show();
        })
        if( $(".classify").children().length>0){
            $(".fh").show();
        }else{
            $(".fh").hide(); $(".classify").css({"width":"100px","border-bottom":"none"});
        $(".bannerbox .allShop .allShop-box .allShop-name .main").css("width","100px");
            $(".bannerbox .allShop .allShop-box").css("width","220px");$(".bannerbox .allShop .allShop-box .allShop-name").css("width","220px");
            $(".bannerbox .allShop .allShop-box2").css("width","220px");$(".bannerbox .allShop .allShop-box .allShop-name .main").css("font-weight","normal");
        }


    })
</script>